// ClientCount.h: interface for the CClientCount class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CLIENTCOUNT_H__5979E627_315A_4A30_8947_2CFF38F16404__INCLUDED_)
#define AFX_CLIENTCOUNT_H__5979E627_315A_4A30_8947_2CFF38F16404__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include <process.h>

class CClientCount  
{
public:
	void SetClientCount(DWORD dwCount);
	DWORD GetClientCount();
	void DecrementClientCount();
	void IncrementClientCount();
	void DeleteClientCount();
	HANDLE InitClientCount();
	CClientCount();
	virtual ~CClientCount();
private:
	BOOL m_bInitClientCount;
	DWORD m_dwClientCount;
	CRITICAL_SECTION m_criticalClients;
	HANDLE m_hNoClients;
};

#endif // !defined(AFX_CLIENTCOUNT_H__5979E627_315A_4A30_8947_2CFF38F16404__INCLUDED_)
